package cn.xuewenbao.edu.service;

import cn.xuewenbao.edu.entity.CourseChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mafayu
 * @since 2021-04-07
 */
public interface CourseChapterService extends IService<CourseChapter> {

    //根据章节id删除课程章节
    Result<?> deleteChapter(String chapterId);

    //根据课程id删除章节
    void deleteChapterByCourseId(String courseId);

}
